#pragma once
#include<stdio.h>
#include<stdlib.h>
#include<stdbool.h>
struct ListNode
{
    int val;
    struct ListNode* next;
    struct ListNode* random;
};
struct ListNode* mergeTwoLists(struct ListNode* list1, struct ListNode* list2);
void CLPrint(struct ListNode* phead);
bool hasCycle(struct ListNode* head);
struct ListNode* copyRandomList(struct ListNode* head);